package com.yanzhen.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
//角色
public class Role implements Serializable {
    private Integer id;
    private String name;
    private Integer parentId;//父id
    private String remarks;//备注
    private Integer type; //类型。0：分类；1：角色
    private Integer createBy;//创建人id
    private Date updateTime;//修改时间
    private Date createTime;//创建时间
    private List<Menu> menuList;
}
